﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using BCCommon.OAEnums;

namespace BCEntity.OA.WorkflowTemplate.WorkflowTemplatePermission
{
    /// <summary>
    /// 工作流模板权限
    /// </summary>
    public class WorkflowTemplatePermissionEntity
    {
        /// <summary>
        /// 工作流模板权限Id
        /// </summary>		
        public long WorkflowTemplatePermissionId { get; set; }
        /// <summary>
        /// 工作流模板Code
        /// </summary>		
        public string TemplateCode { get; set; }
        /// <summary>
        /// 工作流模板名称
        /// </summary>		
        public string TemplateName { get; set; }
        /// <summary>
        /// 权限映射Id
        /// </summary>		
        public long PermissionReferenceId { get; set; }
        /// <summary>
        /// 权限映射名称
        /// </summary>		
        public string PermissionReferenceName { get; set; }
        /// <summary>
        /// 权限类型(公司，部门，人员，岗位，其他，节点执行人)
        /// </summary>		
        public string PermissionTypeStr { get; set; }
        /// <summary>
        /// 权限类型
        /// </summary>		
        public OAWorkflowPermissionType PermissionType { get; set; }
        /// <summary>
        /// 复选框选中Key
        /// </summary>		
        public string TreeCheckedKey { get; set; }

    }
}

